using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using FutureOpen.Web.Pages;
using FutureOpen.Core;
using FutureOpen.Core.func;
using FutureOpen.Core.func.db;
using System.Text;

public partial class controls_SuggestUsrs : System.Web.UI.UserControl
{
    private PageBase pbase;

    protected void Page_Load(object sender, EventArgs e)
    {
        pbase = (PageBase)this.Page;
        pbase.PageInit();
   
        if(!Page.IsPostBack)
        {
            LoadUsrs();            
        }
    }
       
    public void LoadUsrs()
    {
        /*
        MyUsr usrutil = new MyUsr();
        if (pbase.IsLogin())
        {
            IList<Usr> usrs = usrutil.GetSimilarUsr(6, pbase.MyUsr.Usr_sch);
            this.dlUsrs.DataSource = usrs;
            this.dlUsrs.DataBind();
        }
        else
        {
            IList<Usr> usrs = usrutil.GetSimilarUsr(6, null);
            this.dlUsrs.DataSource = usrs;
            this.dlUsrs.DataBind();            
        }
        */
                                 
    }
}
